#!/bin/bash

sudo apt remove ibus -y
sudo apt autoremove -y
sudo apt-get install git fcitx5 fcitx5-rime rime-data-double-pinyin rime-data-emoji fonts-noto-color-emoji -y
rm -rf ~/.local/share/fcitx5/rime
#curl -o ~/.local/share/fcitx5/rime/default.custom.yaml -sSL https://gitee.com/hevey88/install_script/raw/main/debian12/default.custom.yaml
#curl -o ~/.local/share/fcitx5/rime/double_pinyin_abc.custom.yaml -sSL https://gitee.com/hevey88/install_script/raw/main/debian12/double_pinyin_abc.custom.yaml
git clone --depth=1 https://zhjch@codeup.aliyun.com/hevey/rime.git ~/.local/share/fcitx5/rime
fcitx5-configtool
